package org.elephas.webapp.frontend.component;

import org.elephas.model.Category;
import org.elephas.webapp.frontend.component.common.MultiLabel;

public class CategoriesLabel extends MultiLabel {
	private static final long serialVersionUID = 1L;

	public CategoriesLabel(String id) {
		super(id);
	}

	@Override
	protected String renderObject(Object object) {
		return ((Category) object).getName();
	}

}
